package cn.edu.cuit.filter;

import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;

public class CharacterServlet extends HttpServlet {
	
	public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		
		// 因为没有向页面做输出，所以要在控制台看请求的结果
		System.out.println(request.getParameter("name"));
		System.out.println(request.getParameter("password"));
	}

	public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		doGet(request, response);
	}
}
